#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#

#
# Copyright 2015 Garrett D'Amore <garrett@damore.org>
# Copyright 2020 OmniOS Community Edition (OmniOSce) Association.
#

#
# Definitions found in sys/time.h
#

#
# Types.
#
#type | time_t | sys/timeb.h | -ALL SUS+ -SUSv4+
#type | struct timeb | sys/timeb.h | -ALL SUS+ -SUSv4+

#
# Values.
#

#
# Functions
#
func |	futimesat					|\
	int						|\
	int; const char *; const struct timeval [2]	|\
	sys/time.h					|\
	-SUS+ -POSIX+

func |	utimes						|\
	int						|\
	const char *; const struct timeval [2]		|\
	sys/time.h | -POSIX+ -XPG3+ SUS+

func |	lutimes						|\
	int						|\
	const char *; const struct timeval [2]		|\
	sys/time.h | -ALL

func |	futimes						|\
	int						|\
	int; const struct timeval [2]			|\
	sys/time.h | -ALL

define | TIMEVAL_TO_TIMESPEC | | sys/time.h | -ALL
define | TIMESPEC_TO_TIMEVAL | | sys/time.h | -ALL
